package com.tegtech.common.constant;

/**
 * 通用常量信息
 * 
 * @author Jun
 */
public class Constants {
	
	/**
	 * UTF-8 字符集
	 */
	public static final String UTF8 = "UTF-8";

	/**
	 * GBK 字符集
	 */
	public static final String GBK = "GBK";

	/**
	 * http请求
	 */
	public static final String HTTP = "http://";

	/**
	 * https请求
	 */
	public static final String HTTPS = "https://";

	/**
	 * 通用成功标识
	 */
	public static final String SUCCESS = "0";

	/**
	 * 通用失败标识
	 */
	public static final String FAIL = "1";
	
	/**
	 * 默认分页显示第一页
	 */
	public static final int PAGE_NUM = 1;
	
	/**
	 * 默认分页每页显示记录数量
	 */
	public static final int PAGE_SIZE = 10;
	
	/**
	 * 注销
	 */
	public static final String LOGOUT = "Logout";

	/**
	 * 令牌
	 */
	public static final String TOKEN = "token";
	
	/**
	 * 令牌前缀
	 */
	public static final String JWT_USER_KEY = "user_key";

	/**
	 * 资源映射路径 前缀
	 */
	public static final String RESOURCE_PREFIX = "/profile";
}
